<template>
  <el-card>
    <el-tabs v-model="activeName" @tab-click="tabsClick">
      <el-tab-pane label="配置信息" name="config">
        <config-form />
      </el-tab-pane>
      <el-tab-pane label="字段信息" name="column">
        <column-form />
      </el-tab-pane>
    </el-tabs>
  </el-card>
</template>

<script>
import configForm from './config-form.vue'
import columnForm from './column-form.vue'

export default {
  name: 'GenConfig',
  components: {
    configForm, columnForm
  },
  data() {
    return {
      // 选中选项卡的 name config/column
      activeName: 'column'
    }
  },
  methods: {
    tabsClick(tab, event) {

    }
  }
}
</script>
